VR Shooter Game
UNREAL ASSETS
Documentation
How to Add a New Weapon
This documentation will guide you through the process of adding a new weapon to the VR Shooter project.
- Step 1: Create a New Blueprint Class
- Navigate to the following directory:[Content\VR_Shooter\
Blueprints\Weapons\Player].
- Right-click on the "BP_BaseWeapon" blueprint and select "Create Child Blueprint Class" from the context menu.
- A new blueprint class will be created. You can name it whatever you like, preferably something descriptive and related to the weapon you are adding.
- Step 2: Set Default Values for the New Class
- Select the root component of the blueprint class.
- In the Details panel, set all the default values that are relevant to this specific weapon
- These values will determine the initial characteristics of the weapon when it is first spawned or equipped by the player.
- Step 3: Customize the New Blueprint Class
- Open the newly created blueprint class by double-clicking on it.
- In the Blueprint Editor, go to the "Viewport" tab to access the visual representation of the weapon.
- Locate and select the "SkeletalMesh" component in the viewport.
- In the Details panel, set the desired skeletal mesh for your weapon. This mesh will define the visual appearance of the weapon in the game.
Congratulations! You have successfully added a new weapon to the VR Shooter project. Remember to test and refine the functionality, animations, and other properties to ensure it integrates smoothly into the game.